package com.seo.textgen.pos;

import java.util.List;

import org.apache.commons.lang.StringUtils;

import com.seo.textgen.pos.tagger.TaggedSentence;

public class GeneratedSentence {

	private TaggedSentence sourceSentence;
	
	private List<Object> parts;

	private List<PlaceHolder> placeHolders;

	public GeneratedSentence(TaggedSentence sourceSentence, List<Object> parts, List<PlaceHolder> placeHolders) {
		this.sourceSentence = sourceSentence;
		this.parts = parts;
		this.placeHolders = placeHolders;
	}

	public List<Object> getParts() {
		return parts;
	}

	public void setParts(List<Object> parts) {
		this.parts = parts;
	}

	public List<PlaceHolder> getPlaceHolders() {
		return placeHolders;
	}

	public void setPlaceHolders(List<PlaceHolder> placeHolders) {
		this.placeHolders = placeHolders;
	}
	
	public TaggedSentence getSourceSentence() {
		return sourceSentence;
	}
	
	@Override
	public String toString() {
		return StringUtils.join(parts, "");
	}
}
